package com.zmc.coupon.infrastructure.dao;

import com.zmc.coupon.infrastructure.bean.vo.CouponSkuVo;
import com.zmc.coupon.infrastructure.entity.CouponSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 优惠券与产品关联
 * 
 * @author zmc
 * @email 
 * @date 2024-10-09 14:59:36
 */
@Mapper
public interface CouponSkuDao extends BaseMapper<CouponSkuEntity> {

    List<CouponSkuEntity> getByCouponIdAndSkuId(@Param("collect") List<CouponSkuVo> collect);

}
